<template>
    <div>
        <van-icon name="arrow-left" style="margin-top: 11px; float: left;" @click="syy" />
        <NavBar :title="title" style=" margin-left: 15px;"></NavBar>
    </div>
</template>

<script setup>
import { ref } from 'vue'
import { NavBar } from 'vant';
let title = '列表 '
import {useRoute, useRouter } from 'vue-router';
const router = useRouter()
const route =useRoute()
const syy = () => {
    router.push('/home/list')
}

import { goodsApi } from '@/api/api'
const goodsApiData=ref([])
goodsApi(route.params.query).then(res=>{
    console.log('列表',res);
    
})
</script>

<style lang="scss" scoped>

</style>